StupidBeauty
Read times:1219Posted at:Sat May 14 06:25:20 2011
- no title specified

Qt4.7.0文档翻译:QtTest模块,QtTest Module

那些使用Qt的单元测试类的程序需要与QtTest 模块链接起来。要包含这个模块的类的定义的话,需要使用以下指令:

#include <QtTest>

要与这个模块链接 ,就将下面一行添加到你的 qmake .pro 文件中:

CONFIG += qtestlib

参见 QTestLib手册 ,以了解关于如何在你的程序中使用 Qt的单元测试功能的细节

QtTest 模块是所有的 Qt版本 的一部分。

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands